package com.zhiche.lisa.lspm.service.carrier.impl;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.zhiche.lisa.lspm.dao.mapper.carrier.CarrierCardMapper;
import com.zhiche.lisa.lspm.dao.model.carrier.CarrierCard;
import com.zhiche.lisa.lspm.service.carrier.ICarrierCardService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 牵引车卡片 service impl
 *
 * @author lbl
 * @since 2018-05-30
 */
@Service
public class CarrierCardServiceImpl extends ServiceImpl<CarrierCardMapper, CarrierCard> implements
        ICarrierCardService {

    @Override
    public void batchInsert(List<CarrierCard> cardList) {
        insertBatch(cardList);
    }

    /**
     * 无租户查询卡片
     */
    @Override
    public List<CarrierCard> selectCardNoTenant(EntityWrapper<CarrierCard> oilEW) {
        return baseMapper.selectCardNoTenant(oilEW);
    }
}
